<?php
declare (strict_types = 1);

namespace app\api\controller\v1;


use think\facade\Request;
use app\api\service\StatusCode;
use app\api\service\UserToken;
use app\api\model\Course as ModelCourse;
use app\api\model\Province as ModelProvince;

/**
 * 省管理类
 */
class Province extends Api
{
    /**
     * 获取所有省
     */
    public function index()
    {
        $data = ModelProvince::getAllProvince();
        exit(json_encode($data));
    }

}